home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update19.zoo / gcc2.1 / GMakefile.st < prev    next >
Encoding:
Text File  |  1992-03-28  |  16.6 KB  |  445 lines

  1. # Makefile for GNU C++ NATIVE COMPILER for the atariST/TT series hosted
  2. #  on a Sparc host (tested only on SUnOS 4.0.3)
  3. #  NOTE: requires alloca.c from the emacs dist.
  4. #
  5.  
  6. # Makefile for GNU C compiler.
  7. #   Copyright (C) 1987 Free Software Foundation, Inc.
  8.  
  9. #This file is part of GNU CC.
  10.  
  11. #GNU CC is distributed in the hope that it will be useful,
  12. #but WITHOUT ANY WARRANTY.  No author or distributor
  13. #accepts responsibility to anyone for the consequences of using it
  14. #or for whether it serves any particular purpose or works at all,
  15. #unless he says so in writing.  Refer to the GNU CC General Public
  16. #License for full details.
  17.  
  18. #Everyone is granted permission to copy, modify and redistribute
  19. #GNU CC, but only under the conditions described in the
  20. #GNU CC General Public License.   A copy of this license is
  21. #supposed to have been given to you along with GNU CC so you
  22. #can know your rights and responsibilities.  It should be in a
  23. #file named COPYING.  Among other things, the copyright notice
  24. #and this notice must be preserved on all copies.
  25.  
  26. .NOEXPORT: # This tells GNU Make version 3
  27.        # not to put all the variables in the environment.
  28.  
  29.  
  30. CROSSDIR = /net/acae127/home/bammi/atari/cross-gcc
  31. CROSSBIN = $(CROSSDIR)/bin
  32. CROSSLIB = $(CROSSDIR)/lib
  33. CROSSINC = $(CROSSDIR)/include
  34.  
  35. CFLAGS = -O -fomit-frame-pointer -Datarist=1  -Usun -I$(CROSSINC) -I./config -I.
  36. HOSTCFLAGS = -O  -I./config -I.
  37. CC = /net/acae127/home/bammi/atari/cross-gcc/bin/cgcc
  38. # hosts cc
  39. HOSTCC=gcc
  40. HOSTALLOCA = 
  41.  
  42. # OLDCC should not be the GNU C compiler.
  43. OLDCC = cc
  44. BISON = bison
  45. BISONFLAGS=
  46. AR = ar
  47. SHELL = /bin/sh
  48.  
  49. bindir = 
  50. libdir = 
  51.  
  52. # These are what you would need on HPUX:
  53. # CFLAGS = -Wc,-Ns2000 -Wc,-Ne700
  54. # -g is desirable in CFLAGS, but a compiler bug in HPUX version 5
  55. # bites whenever tree.def, rtl.def or machmode.def is included
  56. # (ie., on every source file).
  57. # CCLIBFLAGS = -Wc,-Ns2000 -Wc,-Ne700
  58. # For CCLIBFLAGS you might want to specify the switch that
  59. # forces only 68000 instructions to be used.
  60.  
  61. # If you are making gcc for the first time, and if you are compiling it with
  62. # a non-gcc compiler, and if your system doesn't have a working alloca() in any
  63. # of the standard libraries (as is true for HP/UX or Genix),
  64. # then get alloca.c from GNU Emacs and un-comment the following line:
  65. # ALLOCA = alloca.o
  66.  
  67. # If your system has alloca() in /lib/libPW.a, un-comment the following line:
  68. # CLIB= -lPW
  69.   
  70. # If your system's malloc() routine fails for any reason (as it does on
  71. # certain versions of Genix), try getting the files
  72. # malloc.c and getpagesize.h from GNU Emacs and un-comment the following line:
  73. # MALLOC = malloc.o
  74.  
  75. # If you are running GCC on an Apollo, you will need this:
  76. # CFLAGS = -g -O -M 3000 -U__STDC__ -DSHORT_ENUM_BUG
  77.  
  78. # Change this to a null string if obstacks are installed in the
  79. # system library.
  80. OBSTACK=obstack.o
  81. OBSTACK1=obstack.oo
  82.  
  83. # Dependency on obstack, alloca, malloc or whatever library facilities
  84. # are not installed in the system libraries.
  85. LIBDEPS= $(OBSTACK)
  86. LIBDEPS1= $(OBSTACK1) $(HOSTALLOCA) $(MALLOC)
  87.  
  88. # How to link with both our special library facilities
  89. # and the system's installed libraries.
  90. LIBS = $(OBSTACK)
  91. LIBS1 = $(OBSTACK1) $(HOSTALLOCA) $(MALLOC) $(MALLOC1) $(CLIB)
  92.  
  93. DIR = ../gcc
  94.  
  95. # Object files of CC1.
  96.  
  97. # Language-specific object files for C++.
  98. CPLUS_OBJS = cp-parse.o cp-decl.o cp-decl2.o \
  99.    cp-typeck.o cp-type2.o cp-tree.o cp-ptree.o \
  100.    cp-cvt.o cp-search.o cp-lex.o cp-gc.o cp-call.o \
  101.    cp-class.o cp-init.o cp-method.o cp-except.o \
  102.    cp-expr.o cp-pt.o cp-edsel.o cp-xref.o \
  103.    $(CPLUS_INPUT) cp-spew.o c-common.o
  104.  
  105. # Language-independent object files.
  106. OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \
  107.  function.o stmt.o expr.o calls.o expmed.o explow.o optabs.o varasm.o \
  108.  rtl.o print-rtl.o rtlanal.o dbxout.o sdbout.o dwarfout.o emit-rtl.o \
  109.  integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o \
  110.  regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o \
  111.  insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o \
  112.  insn-recog.o insn-extract.o insn-output.o insn-emit.o \
  113.  insn-attrtab.o aux-output.o getpwd.o
  114.  
  115. GCC_PASSES=gcc cc1 cpp
  116.  
  117. # Files to be copied away after each stage in building.
  118. STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
  119.  insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
  120.  insn-attr.h insn-attrtab.c \
  121.  stamp-flags stamp-config stamp-codes \
  122.  stamp-output stamp-recog stamp-emit stamp-extract stamp-peep \
  123.  stamp-attr stamp-attrtab \
  124.  genemit genoutput genrecog genextract genflags gencodes genconfig genpeep \
  125.  genattrtab genattr \
  126.  $(GCC_PASSES) $(EXTRA_PARTS) gcc-cross cccp cc1plus cc1obj enquire \
  127.  protoize unprotoize specs collect2
  128.  
  129. # Header files that are made available to programs compiled with gcc.
  130. USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
  131.  
  132. # If you want to recompile everything, just do rm *.o.
  133. # CONFIG_H = config.h tm.h
  134. CONFIG_H =
  135. RTL_H = rtl.h rtl.def machmode.h machmode.def
  136. TREE_H = tree.h real.h tree.def machmode.h machmode.def
  137. CPLUS_TREE_H = $(TREE_H) cp-tree.h cp-tree.def
  138.  
  139. ALL =  gcc-cc1plus.ttp
  140.  
  141. all : $(ALL)
  142.  
  143. gcc-cc1plus.ttp: $(CPLUS_OBJS) $(OBJS) $(LIBDEPS)
  144.     $(CC) $(CFLAGS) $(LDFLAGS) -o gcc-cc1plus.ttp $(CPLUS_OBJS) $(OBJS) $(LIBS)
  145. # C++ language specific files.
  146.  
  147. cp-parse.o : cp-parse.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  148.     $(CC) -c $(CFLAGS) cp-parse.c
  149.  
  150. cp-parse.c cp-parse.h : cp-parse.y
  151.     @echo expect 30 shift/reduce conflicts and 14 reduce/reduce conflicts
  152.     $(BISON) $(BISONFLAGS) -d -o cp-parse.c cp-parse.y
  153.  
  154. cp-spew.o : cp-spew.c $(CONFIG_H) $(CPLUS_TREE_H) \
  155.    cp-parse.h flags.h
  156. cp-lex.o : cp-lex.c $(CONFIG_H) $(CPLUS_TREE_H) \
  157.    cp-parse.h cp-input.c flags.h
  158. cp-decl.o : cp-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
  159.   cp-lex.h cp-decl.h stack.h
  160. cp-decl2.o : cp-decl2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
  161.   cp-lex.h cp-decl.h
  162. cp-type2.o : cp-type2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  163. cp-typeck.o : cp-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  164. cp-class.o : cp-class.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h \
  165.     cp-class.h flags.h
  166. cp-call.o : cp-call.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h cp-class.h \
  167.     flags.h
  168. cp-init.o : cp-init.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  169. cp-method.o : cp-method.c $(CONFIG_H) $(CPLUS_TREE_H)
  170. cp-cvt.o : cp-cvt.c $(CONFIG_H) $(CPLUS_TREE_H)
  171. cp-search.o : cp-search.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h
  172. cp-tree.o : cp-tree.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  173. cp-ptree.o : cp-ptree.c $(CONFIG_H) $(CPLUS_TREE_H)
  174. cp-gc.o : cp-gc.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  175. cp-except.o : cp-except.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  176. cp-expr.o : cp-expr.c $(CONFIG_H) $(CPLUS_TREE_H) $(RTL_H) flags.h \
  177.   expr.h insn-codes.h
  178. cp-edsel.o : cp-edsel.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h
  179. cp-xref.o : cp-xref.c $(CONFIG_H) $(CPLUS_TREE_H)
  180. cp-pt.o : cp-pt.c $(CONFIG_H) $(CPLUS_TREE_H) cp-decl.h cp-parse.h
  181.  
  182. # A file used by all variants of C.
  183.  
  184. c-common.o : c-common.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h flags.h
  185.  
  186.  
  187. # Language-independent files.
  188. dumpvers: dumpvers.c
  189.  
  190. version.o: version.c
  191. obstack.o: obstack.c
  192.  
  193. tree.o : tree.c $(CONFIG_H) $(TREE_H) gvarargs.h flags.h function.h
  194. print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
  195. stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) function.h
  196. fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H) flags.h 
  197. toplev.o : toplev.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h input.h \
  198.  insn-attr.h xcoffout.h
  199.  
  200. rtl.o : rtl.c $(CONFIG_H) $(RTL_H)
  201.  
  202. print-rtl.o : print-rtl.c $(CONFIG_H) $(RTL_H)
  203. rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H)
  204.  
  205. varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h \
  206.    insn-codes.h expr.h hard-reg-set.h regs.h xcoffout.h
  207. function.o : function.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
  208.    insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \
  209.    recog.h output.h
  210. stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
  211.    insn-flags.h insn-config.h insn-codes.h hard-reg-set.h expr.h loop.h recog.h
  212. expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) gvarargs.h flags.h function.h  \
  213.    insn-flags.h insn-codes.h expr.h insn-config.h recog.h output.h typeclass.h
  214. calls.o : calls.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-codes.h \
  215.    insn-flags.h
  216. expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  217.    insn-flags.h insn-config.h insn-codes.h expr.h recog.h real.h
  218. explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h hard-reg-set.h \
  219.    insn-config.h expr.h recog.h insn-flags.h insn-codes.h
  220. optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  221.    insn-flags.h insn-config.h insn-codes.h expr.h recog.h
  222. dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h regs.h \
  223.    insn-config.h reload.h gstab.h xcoffout.h
  224. sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) gsyms.h flags.h \
  225.    insn-config.h reload.h
  226. dwarfout.o : dwarfout.c $(CONFIG_H) $(TREE_H) $(RTL_H) dwarf.h flags.h \
  227.    insn-config.h reload.h output.h
  228. xcoffout.o : xcoffout.c $(CONFIG_H) $(TREE_H) $(RTL_H) xcoffout.h flags.h
  229. emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) flags.h gvarargs.h function.h  \
  230.    regs.h insn-config.h insn-codes.h real.h expr.h
  231.  
  232. integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h integrate.h \
  233.    insn-flags.h insn-config.h insn-codes.h expr.h real.h function.h
  234.  
  235. jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h hard-reg-set.h regs.h \
  236.    insn-config.h insn-flags.h insn-codes.h expr.h real.h
  237. stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h
  238.  
  239. cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h real.h \
  240.    insn-config.h recog.h
  241. loop.o : loop.c $(CONFIG_H) $(RTL_H) flags.h loop.h insn-config.h \
  242.    insn-flags.h insn-codes.h regs.h hard-reg-set.h recog.h expr.h real.h
  243. unroll.o : unroll.c $(CONFIG_H) $(RTL_H) insn-config.h insn-codes.h \
  244.    integrate.h regs.h flags.h expr.h loop.h
  245. flow.o : flow.c $(CONFIG_H) $(RTL_H) flags.h insn-config.h \
  246.    basic-block.h regs.h hard-reg-set.h output.h
  247. combine.o : combine.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h  \
  248.    insn-config.h insn-flags.h insn-codes.h insn-attr.h regs.h expr.h \
  249.    basic-block.h recog.h real.h
  250. regclass.o : regclass.c $(CONFIG_H) $(RTL_H) hard-reg-set.h flags.h \
  251.    basic-block.h regs.h insn-config.h recog.h 
  252. local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) flags.h basic-block.h \
  253.    regs.h hard-reg-set.h insn-config.h recog.h output.h
  254. global-alloc.o : global-alloc.c $(CONFIG_H) $(RTL_H) flags.h  \
  255.    basic-block.h regs.h hard-reg-set.h insn-config.h output.h
  256.  
  257. reload.o : reload.c $(CONFIG_H) $(RTL_H) flags.h \
  258.    reload.h recog.h hard-reg-set.h insn-config.h insn-codes.h regs.h real.h
  259. reload1.o : reload1.c $(CONFIG_H) $(RTL_H) flags.h expr.h \
  260.    reload.h regs.h hard-reg-set.h insn-config.h insn-flags.h insn-codes.h \
  261.    basic-block.h recog.h output.h
  262. caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \
  263.    regs.h hard-reg-set.h insn-config.h basic-block.h recog.h reload.h expr.h
  264. reorg.o : reorg.c $(CONFIG_H) $(RTL_H) conditions.h hard-reg-set.h \
  265.    basic-block.h regs.h insn-config.h insn-attr.h insn-flags.h recog.h \
  266.    flags.h output.h
  267. sched.o : sched.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h hard-reg-set.h \
  268.    flags.h insn-config.h insn-attr.h
  269. final.o : final.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h regs.h \
  270.    recog.h conditions.h insn-config.h insn-attr.h real.h output.h \
  271.    hard-reg-set.h insn-codes.h gstab.h xcoffout.h
  272. recog.o : recog.c $(CONFIG_H) $(RTL_H)  \
  273.    regs.h recog.h hard-reg-set.h flags.h insn-config.h insn-attr.h \
  274.    insn-flags.h insn-codes.h real.h
  275. reg-stack.o : reg-stack.c $(CONFIG_H) $(RTL_H) $(TREE_H) \
  276.    regs.h hard-reg-set.h flags.h insn-config.h
  277.    
  278. aux-output.o : aux-output.c $(CONFIG_H) \
  279.    $(RTL_H) regs.h hard-reg-set.h real.h insn-config.h conditions.h \
  280.    insn-flags.h output.h insn-attr.h insn-codes.h
  281.  
  282. # Now the source files that are generated from the machine description.
  283.  
  284. .PRECIOUS: insn-config.h insn-flags.h insn-codes.h \
  285.   insn-emit.c insn-recog.c insn-extract.c insn-output.c insn-peep.c \
  286.   insn-attr.h insn-attrtab.c
  287.  
  288. insn-config.h : md genconfig
  289.     ./genconfig md > tmp-insn-config.h
  290.     ./move-if-change tmp-insn-config.h insn-config.h
  291.  
  292. insn-flags.h : md genflags
  293.     ./genflags md > tmp-insn-flags.h
  294.     ./move-if-change tmp-insn-flags.h insn-flags.h
  295.  
  296. insn-codes.h : md gencodes
  297.     ./gencodes md > tmp-insn-codes.h
  298.     ./move-if-change tmp-insn-codes.h insn-codes.h
  299.  
  300. insn-emit.o : insn-emit.c $(CONFIG_H) $(RTL_H) expr.h insn-config.h
  301.     $(CC) $(CFLAGS) -c insn-emit.c
  302.  
  303. insn-emit.c : md genemit
  304.     ./genemit md > tmp-insn-emit.c
  305.     ./move-if-change tmp-insn-emit.c insn-emit.c
  306.  
  307. insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h
  308.     $(CC) $(CFLAGS) -c insn-recog.c
  309.  
  310. insn-recog.c : md genrecog
  311.     ./genrecog md > tmp-insn-recog.c
  312.     ./move-if-change tmp-insn-recog.c insn-recog.c
  313.  
  314. insn-extract.o : insn-extract.c $(RTL_H)
  315.     $(CC) $(CFLAGS) -c insn-extract.c
  316.  
  317. insn-extract.c : md genextract
  318.     ./genextract md > tmp-insn-extract.c
  319.     ./move-if-change tmp-insn-extract.c insn-extract.c
  320.  
  321. insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h
  322.     $(CC) $(CFLAGS) -c insn-peep.c
  323.  
  324. insn-peep.c : md genpeep
  325.     ./genpeep md > tmp-insn-peep.c
  326.     ./move-if-change tmp-insn-peep.c insn-peep.c
  327.  
  328. insn-output.o : insn-output.c $(CONFIG_H) $(RTL_H) regs.h insn-config.h insn-flags.h conditions.h output.h aux-output.c
  329.     $(CC) $(CFLAGS) -c insn-output.c
  330.  
  331. insn-output.c : md genoutput
  332.     ./genoutput md > tmp-insn-output.c
  333.     ./move-if-change tmp-insn-output.c insn-output.c
  334.  
  335. insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(RTL_H) regs.h real.h output.h \
  336.      insn-attr.h insn-config.h
  337.     $(CC) $(CFLAGS) -c insn-attrtab.c
  338.  
  339. insn-attr.h: md genattr
  340.     ./genattr md > tmp-attr.h
  341.     ./move-if-change tmp-attr.h insn-attr.h
  342.  
  343. insn-attrtab.c: md genattrtab
  344.     ./genattrtab md > tmp-attrtab.c
  345.     ./move-if-change tmp-attrtab.c insn-attrtab.c
  346.  
  347.  
  348. # Now the programs that generate those files.
  349.  
  350. genconfig : genconfig.oo rtl.oo $(LIBDEPS1)
  351.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genconfig genconfig.oo rtl.oo $(LIBS1)
  352.  
  353. genconfig.oo : genconfig.c $(RTL_H)
  354.     $(HOSTCC) $(HOSTCFLAGS) -c genconfig.c -o genconfig.oo
  355.  
  356. genflags : genflags.oo rtl.oo $(LIBDEPS1)
  357.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genflags genflags.oo rtl.oo $(LIBS1)
  358.  
  359. genflags.oo : genflags.c $(RTL_H)
  360.     $(HOSTCC) $(HOSTCFLAGS) -c genflags.c -o genflags.oo
  361.  
  362. gencodes : gencodes.oo rtl.oo $(LIBDEPS1)
  363.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o gencodes gencodes.oo rtl.oo $(LIBS1)
  364.  
  365. gencodes.oo : gencodes.c $(RTL_H)
  366.     $(HOSTCC) $(HOSTCFLAGS) -c gencodes.c -o gencodes.oo
  367.  
  368. genemit : genemit.oo rtl.oo $(LIBDEPS1)
  369.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genemit genemit.oo rtl.oo $(LIBS1)
  370.  
  371. genemit.oo : genemit.c $(RTL_H)
  372.     $(HOSTCC) $(HOSTCFLAGS) -c genemit.c -o genemit.oo
  373.  
  374. genrecog : genrecog.oo rtl.oo $(LIBDEPS1)
  375.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genrecog genrecog.oo rtl.oo $(LIBS1)
  376.  
  377. genrecog.oo : genrecog.c $(RTL_H)
  378.     $(HOSTCC) $(HOSTCFLAGS) -c genrecog.c -o genrecog.oo
  379.  
  380. genextract : genextract.oo rtl.oo $(LIBDEPS1)
  381.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genextract genextract.oo rtl.oo $(LIBS1)
  382.  
  383. genextract.oo : genextract.c $(RTL_H)
  384.     $(HOSTCC) $(HOSTCFLAGS) -c genextract.c -o genextract.oo
  385.  
  386. genpeep : genpeep.oo rtl.oo $(LIBDEPS1)
  387.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genpeep genpeep.oo rtl.oo $(LIBS1)
  388.  
  389. genpeep.oo : genpeep.c $(RTL_H)
  390.     $(HOSTCC) $(HOSTCFLAGS) -c genpeep.c -o genpeep.oo
  391.  
  392. genoutput : genoutput.oo rtl.oo $(LIBDEPS1)
  393.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genoutput genoutput.oo rtl.oo $(LIBS1)
  394.  
  395. genoutput.oo : genoutput.c $(RTL_H)
  396.     $(HOSTCC) $(HOSTCFLAGS) -c genoutput.c -o genoutput.oo
  397.  
  398. genattr : genattr.oo rtl.oo $(LIBDEPS1)
  399.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genattr \
  400.      genattr.oo rtl.oo $(LIBS1)
  401.  
  402. genattr.oo : genattr.c $(RTL_H) config.h
  403.     $(HOSTCC) -c $(HOSTCFLAGS) genattr.c -o genattr.oo
  404.  
  405. genattrtab : genattrtab.oo rtl.oo rtlanal.oo $(LIBDEPS1)
  406.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genattrtab \
  407.      genattrtab.oo rtl.oo rtlanal.oo $(LIBS1)
  408.  
  409. genattrtab.oo : genattrtab.c $(RTL_H) config.h insn-config.h
  410.     $(HOSTCC) -c $(HOSTCFLAGS) genattrtab.c -o genattrtab.oo
  411.  
  412. rtl.oo : rtl.c $(CONFIG_H) $(RTL_H)
  413.     $(HOSTCC) $(HOSTCFLAGS) -c rtl.c -o rtl.oo
  414.  
  415. rtlanal.oo : rtlanal.c $(CONFIG_H) $(RTL_H)
  416.     $(HOSTCC) $(HOSTCFLAGS) -c rtlanal.c -o rtlanal.oo
  417.  
  418. obstack.oo : obstack.c
  419.     $(HOSTCC) $(HOSTCFLAGS) -c obstack.c -o obstack.oo
  420.  
  421. # gnulib is not deleted because deleting it would be inconvenient
  422. # for most uses of this target.
  423. clean:
  424.     -rm -f *.o *.oo $(STAGESTUFF)
  425.     -rm -f *.s *.s[0-9] *.co *.greg *.lreg *.combine *.flow *.cse *.jump *.rtl *.tree *.loop
  426.  
  427. # Get rid of every file that's generated from some other file (except INSTALL).
  428. realclean: clean
  429.     -rm -f $(ALL)
  430.     -rm -f cpp.aux cpp.cps cpp.fns cpp.info cpp.kys cpp.pgs cpp.tps cpp.vrs
  431.     -rm -f errs gnulib TAGS 
  432.     -rm -f core report
  433.     -rm -f internals internals-* internals.?? internals.??s
  434.  
  435. # Copy the files into directories where they will be run.
  436. #install: all
  437. #    install cc1 $(libdir)/gcc-cc1
  438. #    install cpp $(libdir)/gcc-cpp
  439. #    install gcc $(bindir)
  440.  
  441. force:
  442.  
  443. #In GNU Make, ignore whether `stage*' exists.
  444. .PHONY: clean realclean
  445.